﻿using FluentValidation;

namespace ED.Model.Response.Menu
{
    /// <summary>
    /// 返回菜单实体
    /// </summary>
    public class MenuReq
    {
        /// <summary>
        /// Id编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 名称    
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 路由名称 通常和定义的组件名一致    
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 页面面包屑展示    
        /// </summary>
        public string Label { get; set; }

        /// <summary>
        /// 编码    
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 菜单类型：1-分组 2-页面 3-操作    
        /// </summary>
        public int? Type { get; set; }

        /// <summary>
        /// 路径    
        /// </summary>
        public string Path { get; set; }

        /// <summary>
        /// 图标    
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// 移动端展示   
        /// </summary>
        public bool? ShownInWap { get; set; }

        /// <summary>
        /// 移动端路径
        /// </summary>
        public string WapPath { get; set; }

        /// <summary>
        /// 移动端图标    
        /// </summary>
        public string WapIcon { get; set; }

        /// <summary>
        /// PC端是否显示    
        /// </summary>
        public bool? ShownInPC { get; set; }

        /// <summary>
        /// 是否启用    
        /// </summary>
        public bool Active { get; set; }

        /// <summary>
        /// 是否打开新窗口    
        /// </summary>
        public bool? NewWindow { get; set; }

        /// <summary>
        /// 排序    
        /// </summary>
        public int? Rank { get; set; }

        /// <summary>
        /// 所属系统 微服务    
        /// </summary>
        public int? BelongSystem { get; set; }

        /// <summary>
        /// 备注    
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 父菜单id    
        /// </summary>
        public int? ParentId { get; set; }
    }
}
